/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.clarice.homechef.service;

import com.clarice.homechef.dao.UserDao;
import com.clarice.homechef.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author Akshay Velhal
 */
@Service
public class UserServiceImpl implements UserService{

    
    @Autowired
    UserDao userDao;
    
    @Override
    public User getUser(String email) throws Exception {
        return userDao.getUser(email);
    }
    
}
